﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<PagedList<CourseSystem.Core.Entities.CourseNoticeInfo>>" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<table width="475" height="290" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="491" height="28"   background="<%=ResolveUrl("~/Content/images/k_03.jpg") %>">
            <table width="475" height="28" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="16" height="28">
                    </td>
                    <td width="409">
                        <span class="style10">课程通知 </span>
                    </td>
                    <td width="50">
                        <a href="<%=Url.Action("News","Guide") %>"><img src="<%=ResolveUrl("~/Content/images/bai.gif") %>" width="49" height="28" border="0" /></a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" valign="top" height="260"  background="<%=ResolveUrl("~/Content/images/k_07.jpg") %>">
            <table width="469" class=""  cellpadding="0" border="1" cellspacing="0" bordercolor="#CCCCCC">
                <tr bordercolor="#CCCCCC">
                    <td height="20" bgcolor="#D1E5F0" style="width:80%">
                        <div align="center">
                            <span class="style5">通知内容</span></div>
                    </td>
                    <td bgcolor="#D1E5F0">
                        <div align="center">
                            <span class="style8">通知时间 </span>
                        </div>
                    </td>
                </tr>
                <% foreach (var item in Model)
                   { %>
                <tr bordercolor="#CCCCCC">
                    <td height="23" align="left">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15">
                                </td>
                                <td>
                                    <div align="left">
                                        <span class="style2">
                                            <%=TextHelper.DisplayText(item.NoticeContent,26) %>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <div align="center" class="style2">
                            <div align="center">
                                <%=item.NoticeTime.ToString("yyyy-MM-dd") %>
                            </div>
                        </div>
                    </td>
                </tr>
                <% } %>
                 
            </table>
        </td>
    </tr>
    <tr>
        <td height="4" style=" background-repeat:no-repeat" background="<%=ResolveUrl("~/Content/images/k_11.jpg") %>">
        </td>
    </tr>
</table>
